package com.eet.order.constants;

/**
 * 全局常量配置
 *
 * @author zheng.zhang
 */
public interface CommonConstants {
    /**
     * 广播类型交换机
     */
    String FANOUT_EXCHANGE = "fanout_order_exchange";

    /**
     * Direct类型交换机
     */
    String DIRECT_EXCHANGE = "direct_order_exchange";

    /**
     * Topic类型交换机
     */
    String TOPIC_EXCHANGE = "topic_order_exchange";

    /**
     * 邮件
     */
    String EMAIL = "email";

    /**
     * 短信
     */
    String SMS = "sms";

    /**
     * 微信
     */
    String WECHAT = "wechat";

    /**
     * 空字符
     */
    String EMPTY = "";

    /**
     * 队列名称
     */
    String DIRECT_EMAIL_QUEUE = "direct.email.queue";
    String DIRECT_SMS_QUEUE = "direct.sms.queue";
    String DIRECT_WECHAT_QUEUE = "direct.wechat.queue";
    String TTL_DIRECT_QUEUE = "ttl.direct.queue";
    String TTL_DIRECT_EXCHANGE = "ttl_direct_exchange";
    String TTL = "ttl";
}
